package io.github.yidasanqian.service;


import io.github.yidasanqian.domain.Goods;
import io.github.yidasanqian.dto.GoodsCategoryDTO;
import io.github.yidasanqian.dto.GoodsDTO;

public interface GoodsService {
    int addGoods(Goods goods, String description) throws Exception;

    Goods findGoodsById(long goodsId);

    GoodsDTO findAll(int page, int rows);

    GoodsCategoryDTO queryGoodsCategoryNodeList(Long parentId);
}
